#include <fx.h>
#include <fx3d.h>

#include "FOXRenderTarget.h"

FOXRenderTarget::FOXRenderTarget(FXGLCanvas* canvas)
{
	_canvas = canvas;
}

FOXRenderTarget::~FOXRenderTarget()
{
}

unsigned FOXRenderTarget::getHeight()
{
	return _canvas->getHeight();
}

unsigned FOXRenderTarget::getWidth()
{
	return _canvas->getWidth();
}

void FOXRenderTarget::swapBuffers()
{
	_canvas->swapBuffers();
}
